package com.lanou3g.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
//处理器的配置在springmvc-web.xml里
@Controller
public class TestController {
    @RequestMapping("/test1")
    public String test1(){
        System.out.println("test---------------");
        return "/index";
    }
     @RequestMapping("/a/test2")
    public String test2(){
        System.out.println("test2---------------");
        return "/index";
    }
    @RequestMapping("/b/test3")
    public String test3(){
        System.out.println("test3---------------");
        return "/index";
    }
    @RequestMapping("/c/test3")
    public String test4(){
        System.out.println("test4---------------");
        return "/index";
    }
}
